<template>
  <div class="title-line">
    <div class="title">{{ title }}</div>
    <slot name="t1"></slot>
    <slot name="t2"></slot>
  </div>
</template>
<script>
export default {
  name: "TitleBox",
  props: {
    title: {
      type: String,
      default: "",
    },
  },
  components: {},
  data() {
    return {};
  },
  created() {},
  methods: {},
};
</script>
<style lang="scss" scoped>
.title-line {
  display: flex;
  //justify-content: space-between;
  margin-bottom: 15px;
  padding-top: 20px;
  position: relative;
  .title {
    font-weight: bold;
    font-size: 16px;
    line-height: 18px;
    color: #222222;
    padding-left: 10px;
    position: relative;
    &::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 5px;
      height: 18px;
      background: #2675d9;
      border-radius: 3px;
    }
  }

}
</style>
